package com.sjyy.common.util;

import com.sjyy.common.response.ReponseConfigurationDict;


public class DeliveryUtil {
	
	/**
	 * 配送app卡版本号
	 * @return
	 */
	public static Integer getVersion(){
		String version = PropertiesUtil.getPropertiesValue(ReponseConfigurationDict.RESPONSE_STUCK_DELIVERYVERSION);
		if(version.equals("")){
			version = "010100";
		}
		return new Integer(version);
	}
	
	/**
	 * 是否卡配送APP登录
	 * @return
	 */
	public static Integer getIfVersion(){
		String ifVersion = PropertiesUtil.getPropertiesValue(ReponseConfigurationDict.RESPONSE_IF_DELIVERYVERSION);
		if(ifVersion.equals("")){
			ifVersion = "0";
		}
		return new Integer(ifVersion);
	}

}
